<table class="form_table" cellpadding="0" cellspacing="0" style="border-top: 0px;">
  <caption style="border-bottom: 0px;">
    <%= "#{EducationalPlan.human_name}" %>
  </caption>
  <tr>
    <th><%= "#{EducationalPlan.human_attribute_name(:name)}" %></th>
    <th><%= "#{EducationalPlan.human_attribute_name(:academic_degree)}" %></th>
    <th><%= "#{EducationalPlan.human_attribute_name(:total_credits)}" %></th>
    <th><%= "#{EducationalPlan.human_attribute_name(:active)}" %></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>
  <% @educational_plans.each do |educational_plan| %>
    <tr class="<%= cycle('odd', 'even') %>">
      <td class="<%= current_cycle %>"><%= educational_plan.name %></td>
      <td class="<%= current_cycle %>"><%= educational_plan.academic_degree.name %></td>
      <td class="<%= current_cycle %>" style="text-align: center;"><%= educational_plan.total_credits %></td>
      <td class="<%= current_cycle %>" style="text-align: center;"><%= educational_plan.active ? t(:true_yes) : t(:false_no) %></td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:show), educational_plan %> ]</td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:edit), edit_educational_plan_path(educational_plan) %> ]</td>
      <td class="<%= current_cycle %>">[ <%= link_to t(:delete), educational_plan, :confirm => t(:prompt_delete_x, :x => educational_plan.name), :method => :delete %> ]</td>
    </tr>
  <% end %>
</table>